/**
  MOMD project, Anyang Normal University, IMP-CAS
  \file ETFTest.h
  \class ETFTest
  \brief Just to accommodate catch2 to facilitate unit test.
  It takes forever to compile this class. So normally leave this file alone.
  \author SUN Yazhou, aisa.rabbit@163.com
  \date Created: 2020/09/07
  \date Last modified: 2020/09/07 by SUN Yazhou
  \copyright 2020 SUN Yazhou
  \copyright MOMD project, Anyang Normal University, IMP-CAS
*/

#define CATCH_CONFIG_RUNNER

#include "ETFTest.h"
#include "config.h"
#ifdef _CATCH_
#include "catch.h"
#else
#include "ETFMsg.h"
#endif

int ETFTest::test(int argc, char *argv[]){
#ifdef _CATCH_
  return Catch::Session().run(argc, argv);
#else
  ETFMsg::Warn("ETFTest", "test: unittest -- catch -- not enabled");
  return -1;
#endif
} // end member function test
